[HVM][TOOLS] Improve warnign message when trying to create
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 30 Sep 2006 10:35:02 +0000 (11:35 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 30 Sep 2006 10:35:02 +0000 (11:35 +0100)
an HVM guest on a non-capable platform.
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/python/xen/xend/image.py

index 1ee771b55927169beea7f053e513f3feedb595fe..7e8eeb1ba44dd1f5e0d7e7e7dd269e77e31523c3 100644 (file)
@@ -244,7 +244,8 @@ class HVMImageHandler(ImageHandler):
 
         info = xc.xeninfo()
         if not 'hvm' in info['xen_caps']:
-            raise VmError("Not an HVM capable platform, we stop creating!")
+            raise VmError("HVM guest support is unavailable: is VT/AMD-V "
+                          "supported by your CPU and enabled in your BIOS?")
 
         self.dmargs = self.parseDeviceModelArgs(imageConfig, deviceConfig)
         self.device_model = sxp.child_value(imageConfig, 'device_model')